<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading entityName="${tax.taxName}" entityHeadingKey="taxDetail.heading" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="fnDoSave(this, 'taxName')"/>
	<c:if test="${tax.taxId!=null}">
		<probiz:iconBtn btnType="delete" onclick="fnDoDelete(this,  'taxName')"/>
	</c:if>
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/tax.html"/>
</content>

<probiz:showBindErrors bindPath="tax.*" />
<form class="mainForm" method="post" action="${ctxPath}/system/tax.html" id="tax">
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="taxDetail.heading"/></span></li>
		</ul>
	</div>
	<input type="hidden" name="taxId" value="${tax.taxId}" />
	<div class="modify">
		<TABLE  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th class="label_width_1">
					<StoreAdmin:label key="tax.taxName" />
				</th>
				<td>
					<spring:bind path="tax.taxName">
          	<input type="text" name="${status.expression}" id="${status.expression}" 
              	value="${status.value}" class="inputtxt" style="width: 350px" title="${status.value}"/>
          	<span class="fieldError">${status.errorMessage}</span>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<th>
					<StoreAdmin:label key="tax.taxRegisterNo" />
				</th>
				<td>
					<spring:bind path="tax.taxRegisterNo">
						<input class="inputtxt" style="width: 350px" type="text"
							name="<c:out value="${status.expression}"/>"
							id="<c:out value="${status.expression}"/>"
							value="<c:out value="${status.value}"/>" />
						<span class="fieldError"><c:out
								value="${status.errorMessage}" /> </span>
					</spring:bind>
				</td>
			</tr>
		</table>
	</div>
</form>

<v:javascript formName="tax" staticJavascript="false" />
<script type="text/javascript">
    document.forms["tax"].elements["taxName"].focus();	 
</script>

